
public class demo01 {
public static void main(String[] args) {
	String s[]={"1","2"};
	System.out.println(s[0]+","+s[1]);
	swap(s[0],s[1]);
	System.out.println("two:"+s[0]+","+s[1]);
	System.out.println(s[0]+s[1]);
}
static void swap(String s0,String s1){
	String t=s0;
	s0=s1;
	s1=t;
	System.out.println("转换后："+t+","+s0+","+s1);
}
}
